package com.gitee.wsl.jvm.logging

import com.gitee.wsl.logger.Console
import com.gitee.wsl.logger.format.useJvmLogTxtPrettyFormat
import com.gitee.wsl.logger.Logger
import com.gitee.wsl.logger.LogPrinter
import com.gitee.wsl.logger.printer
import java.lang.IllegalArgumentException
import kotlin.test.BeforeTest
import kotlin.test.Test

class LoggingTest {

    @BeforeTest
    fun setup(){
        Logger.printer(LogPrinter.Console.useJvmLogTxtPrettyFormat())
    }

    @Test
    fun testLogging(){
        Logger.e("test is debug ",IllegalArgumentException("no argument"))
    }
}